package com.zhouxun.model;

import java.util.Date;

public class Admin {
    private Integer id;

    private String loginName;

    private String userPw;

    private String userName;

    private String email;

    private Date createDate;

    private Integer isEnable;

    private String remark;

    public Admin() {
    }

    public Admin(Integer id, String loginName, String userPw, String userName, String email, Date createDate, Integer isEnable, String remark) {
        this.id = id;
        this.loginName = loginName;
        this.userPw = userPw;
        this.userName = userName;
        this.email = email;
        this.createDate = createDate;
        this.isEnable = isEnable;
        this.remark = remark;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName == null ? null : loginName.trim();
    }

    public String getUserPw() {
        return userPw;
    }

    public void setUserPw(String userPw) {
        this.userPw = userPw == null ? null : userPw.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Integer isEnable) {
        this.isEnable = isEnable;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", loginName='" + loginName + '\'' +
                ", userPw='" + userPw + '\'' +
                ", userName='" + userName + '\'' +
                ", email='" + email + '\'' +
                ", createDate=" + createDate +
                ", isEnable=" + isEnable +
                ", remark='" + remark + '\'' +
                '}';
    }
}